<?php

class indexAction extends BaseAction {


    public function  execute() {
        $this->view->layout    = 'index';
        parent::execute();
    }
    
    public function actionIndex() {
        $this->render();
    }

    public function actionView() {
        $down_name  = $this->params['name'];

        $rs         = DAO_Finder::findOne(DB_DOWN_LOAD, array('down_name' =>$down_name));

        //更新记录
        DB_DOWN_LOAD::setUpdate($down_name);
        DB_DOWN_IP::setUpdateIp($down_name);
    }

    public function actionTest(){
        $this->view->layout = '';
        $this->render();
    }
}

